<!--- Module Payment -->
<?php $footer = Payment_Manager::getInstance()->getHandlerByCode(Payment_Item_Footer::CODE); ?>
<?php if (!$footer->isValid($this->social->getIdPage())): ?>
	<style>		
		.ym_footer {
			clear: both;			
			margin: 20px auto auto;
			width: 100%;
		}
		.footer_contain_img {
			cursor: pointer;
			display: block;
			height: 34px;
			width: 100%;
		}
		.footer_img {
			background-position: right 0px;
			display: block;
			height: 32px;
			background-repeat:  no-repeat;
			background-image: url("<?php echo $this->baseUrl() ?>/img/footer_logo.png");
		}
		.footer_img:hover {
			background-position: right -33px;
		}
	</style>
	<div class="ym_footer">
		<div class="footer_contain_img">			
			<a class="footer_img <?php echo $this->img_extended_class ?>" target="_blank" 
				href="<?php echo $this->social->getAppUrl() . '?'.http_build_query(array(
						'source'	=> 'fanpage', 
						'ref'		=> $this->social->getIdPage() 
					));?>"> 
			</a>
		</div>
	</div>
<?php endif; ?>